package Observer_Pattern.Cat;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Cat extends AbstractTarget{
    @Override
    public void notice() {
        System.out.println("猫大叫一声");
        for (Object obs:observers)
        {
            ((Observer)obs).start();
        }
    }


}
